<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<c:forEach var="news" items="${pageInfo.list}">
    <tr>
        <td>${news.id}</td>
        <td>${news.newsTitle}</td>
        <td>
            <img alt="暂无图片" src="${basePath }/public/images${news.newsImg}"height="100" width="150">
        </td>
        <td>${news.isShow==1?"显示":"不显示"}</td>
        <td>${news.countClick}</td>
        <td>${news.commentCount}</td>
        <td><a href="${basePath}/admin/news/toUpdate?id=${news.id}" class="tablelink">编辑</a> <a href="${basePath}/admin/news/delete?id=${news.id}" class="tablelink"> 删除</a></td>
    </tr>
</c:forEach>
<input type="hidden" id="pages" value="${pageInfo.pages }">
<input type="hidden" id="pageNum" value="${pageInfo.pageNum }">